﻿using Common.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StatsData.Data.Entity
{
    /// <summary>
    /// 直接人工有效工时产出率
    /// </summary>
    public class t_bi_dir_emp_workhour_output_rate : EntityBase
    {
        /// <summary>
        /// 直接员工Id
        /// </summary>
        public string dir_emp_id { get; set; }

        /// <summary>
        /// 直接员工编号
        /// </summary>
        [EntityFieldLength(20)]
        public string dir_emp_code { get; set; }

        /// <summary>
        /// 直接员工姓名
        /// </summary>
        [EntityFieldLength(50)]
        public string dir_emp_name { get; set; }

        /// <summary>
        /// 线体Id
        /// </summary>
        public string line_id { get; set; }

        /// <summary>
        /// 线体编号
        /// </summary>
        [EntityFieldLength(50)]
        public string line_code { get; set; }

        /// <summary>
        /// 线体名称
        /// </summary>
        [EntityFieldLength(50)]
        public string line_name { get; set; }

        public string line_name_en { get; set; }

        public string line_supervisor_id { get; set; }

        [EntityFieldLength(50)]
        public string line_supervisor_name { get; set; }

        [EntityFieldLength(20)]
        public string line_supervisor_code { get; set; }

        /// <summary>
        /// 有效产出工时
        /// </summary>
        public decimal effective_output_workhour { get; set; }

        /// <summary>
        /// 出勤日期
        /// </summary>
        [EntityFieldIndex]
        public DateTime dir_emp_attendance_time { get; set; }

        /// <summary>
        /// 出勤工时
        /// </summary>
        public decimal dir_emp_attendance_workhour { get; set; }
    }
}
